home *** CD-ROM | disk | FTP | other *** search
/ GFX Sensations 1 / Graphic Sensations - Volume 1.iso / tools / pc / gsip / gsip.doc < prev    next >
Text File  |  2000-01-01  |  12KB  |  381 lines

  1.  
  2. Manual for GSIP V1.0 
  3.  
  4. Description
  5. -----------
  6.      GSIP (GRAY SCALE IMAGE PROCESSOR) is a program designed for
  7.      viewing, editing, and printing of 8-Bit gray PCX images.    
  8.      Image size is restricted to:
  9.      Width: 2048 Pixels
  10.      Depth: Size of extended memory.
  11.      This program was written using the following hardware:
  12.      Computer: 286 PC Compatible
  13.      Monitor:  VGA 640x480 Sony 1303
  14.      Mouse:    Logitech Serial 3-Button
  15.      Printer:  Epson KX-P1080i, HP LaserJet II
  16.  
  17. Requirements
  18. ------------
  19.      1. VGA Monitor
  20.      2. Extended Memory with HIMEM.SYS driver.
  21.         HIMEM.SYS is a MICROSOFT Product and is supplied with     
  22.         Windows.
  23.  
  24. Menu Selection
  25. --------------
  26.      Use a the following to select a menu item:
  27.  
  28.      MOUSE:    The LEFT button of the mouse.
  29.                The RIGHT button will return to the previous menu.
  30.      KEYBOARD: The ARROW keys followed by the ENTER key.
  31.                The ESC key will return to the previous menu.
  32.  
  33. Viewing Options
  34. ---------------
  35.      Normal Mode -  View Window = 592 wide x 384 deep
  36.      Preview Mode - View Window = (2) x 294 wide x 384 deep 
  37.  
  38.      MOUSE:    Change the viewing window by moving the small
  39.                square in the vertical and horizontal scroll bars.
  40.      KEYBOARD: Change the viewing window by using PAGEUP,
  41.                PAGEDOWN, TAB, SHIFT TAB, HOME, & END keys.
  42. Manual for GSIP V1.0 
  43.  
  44. Editing Options
  45. ---------------
  46.      1.  Negative
  47.      2.  Remap Gray
  48.      3.  Insert
  49.      4.  Bit AND
  50.      5.  Bit OR
  51.      6.  Sharpen
  52.      7.  Blur
  53.      8.  Black White
  54.      9.  Spot Remove
  55.      10. Spot Fill
  56.      11. Average
  57.      12. Edge Enhancement
  58.      13. User Filter
  59.      14. Equalization
  60.      15. Resize
  61.      16. Reduce All
  62.      17. Rotate
  63.      18. Mirror
  64.      19. Copy
  65.      20. XOR Copy
  66.      21. AND Copy
  67.      22. OR Copy
  68.      23. Dither/Halftone
  69. Manual for GSIP V1.0 
  70.  
  71. Printing Options
  72. ----------------
  73.      1. Burkes Dither
  74.      2. Halftone Pattern 1    (6x6)
  75.      3. Halftone Pattern 2    (6x6)
  76.      4. Halftone Pattern 3    (4x4)
  77.  
  78.      Printers:
  79.      1. Epson
  80.      2. HP Laser (75,100,150,300 DPI)
  81.  
  82. Miscellaneous
  83. -------------
  84.      1. View Histogram
  85.      2. Change color of screen (does not effect image palette or
  86.         image data). Useful for image analysis.
  87.      3. Zoom In
  88.      4. Zoom Out - Temporarily view entire image.
  89.      5. Edit Individual Pixel
  90.      6. View Image Data
  91.      7. Preview Mode - View results of editing without changing
  92.         original image.
  93.  
  94. Loading an Image
  95. ================
  96.  
  97.      Select LOAD,IMAGE,NEW or
  98.             LOAD,IMAGE,APPEND.
  99.  
  100.      MOUSE:    Select the file with the LEFT button, then press
  101.                the RIGHT button.
  102.      KEYBOARD: Select the file with the PAGEUP, PAGEDOWN, HOME,  
  103.                END & ARROW keys, then press ENTER.
  104.  
  105.      The selected file is loaded. If the image is a 256 color
  106.      image, the palette is converted to a gray scale
  107.      approximation. When the image is saved, the color palette
  108.      will NOT be saved, only the gray scale. Access is
  109.      restricted to the current drive and directory. All
  110.      associated files must be in the same area.
  111.      Extended memory is configured for the width of the first
  112.      image loaded. Appended images wider than the first and
  113.      greater then 592 pixels (view window) will be clipped.
  114.  
  115. Manual for GSIP V1.0 
  116.  
  117. Editing an Image
  118. ================
  119.  
  120. Negative
  121. --------
  122.      Make image negative in the selected area.
  123.  
  124. Remap Gray
  125. ----------
  126.      This function allows one to reassign all 256 gray values    
  127.      to different values simply by editing a curve (DEFAULT.MAP).
  128.      A negative image can be made by creating a negative slope.
  129.  
  130.                     _______________
  131.                FF   |            . |
  132.        ^            |          .   |
  133.        ^            |        .     |
  134.      Darker         |      .       |
  135.        ^            |    .         |
  136.        ^            |  .           |
  137.                     |.             |
  138.                0    ----------------
  139.                     0              FF
  140.                     
  141.                     >> Darker >>
  142.  
  143. Insert
  144. ------
  145.      Inserts a gray value (0 - 255) to the selected area.
  146.  
  147. BitAND
  148. ------
  149.      ANDs the selected value with the selected area.   
  150.  
  151. BitOR
  152. ------
  153.      ORs the selected value with the selected area.    
  154. Manual for GSIP V1.0 
  155.  
  156. Sharpen
  157. -------
  158.      Sharpens the selected area from 0 -> 20. (Less <---> More).
  159.      Uses a spatial HP filter. Template contains 9 weights.
  160.      
  161.       ___________
  162.      |-1 |-1 |-1 | 
  163.      |___|___|___|
  164.      |-1 | 8 |-1 |
  165.      |___|___|___|
  166.      |-1 |-1 |-1 |
  167.      |___|___|___|
  168.  
  169.      Gray value = current gray value +
  170.      [ ( Summation (pixel(1-9)*WT(1-9)) ) / (9 + 20 - value)]
  171.  
  172. Blur
  173. ----
  174.      Blurs the selected area from 0 -> 20. (Less <---> More).
  175.      Uses a spatial LP filter. Template contains 9 weights.
  176.      (WT1-WT9)
  177.       ___________
  178.      | 1 | 1 | 1 | 
  179.      |___|___|___|
  180.      | 1 |-8 | 1 |
  181.      |___|___|___|
  182.      | 1 | 1 | 1 |
  183.      |___|___|___|
  184.  
  185.      Gray value = current gray value +
  186.      [ ( Summation (pixel(1-9)*WT(1-9)) ) / (9 + 20 - value)]
  187.  
  188. User Filter
  189. -----------
  190.  
  191.      Modifies the selected area from 0 -> 20. (Less <---> More).
  192.      Uses a spatial filter supplied by the user. Template
  193.      contains 9 weights.
  194.      (WT1-WT9)
  195.       ___________
  196.      | 1 | 2 | 3 | 
  197.      |___|___|___|
  198.      | 4 | 5 | 6 |
  199.      |___|___|___|
  200.      | 7 | 8 | 9 |
  201.      |___|___|___|
  202.  
  203.      Gray value = current gray value +
  204.      [ ( Summation (pixel(1-9)*WT(1-9)) ) / (9 + 20 - value)]
  205. Manual for GSIP V1.0 
  206.  
  207. Black White
  208. -----------
  209.      This function transforms a 256 gray scale image to a
  210.      black/white (ff/0) image.  It does this by looking at a 5x5
  211.      area at each pixel location in the selected area.
  212.  
  213.      1. An average value is calculated for the 5x5 region.
  214.      2. A normalized average value is plugged into the            
  215.         BLACK_WHITE_AVG curve.
  216.      3. The result is the average value.
  217.      4. The center pixel is plugged into the BLACK_WHITE_THR      
  218.         curve.
  219.      5. The result is the center value.
  220.      6. The decision on black or white is then simply made:
  221.                average value < center value = BLACK
  222.                                         else = WHITE
  223.      
  224.      The curves provided (DEFAULT.AVG, DEFAULT.THR) work
  225.      reasonably well for a variety of different gray images.
  226.      Different results can be obtained by modifying both curves.
  227.      Both curves are modified only with a mouse.
  228.  
  229. Spot Remove
  230. -----------
  231. This function eliminates undesirable black spots on a
  232.      black/white image. The template chosen is compared at all
  233.      pixel locations in the selected area. The center pixel (if
  234.      black) will be removed if NO MATCH is found in the
  235.      surrounding pixels of the template to the image.
  236.  
  237. Spot Fill
  238. ---------
  239.      This function fills black spots on a black/white image. The
  240.      template chosen is compared at all pixel locations in the
  241.      selected area. The center pixel (if white) will be filled if
  242.      all surrounding pixels of the template DO MATCH the image.
  243.  
  244. Average
  245. -------
  246.      This function adds the gray values in a 3x3 pixel region and
  247.      divides by 9 to get an average value. This value is inserted
  248.      in the center of the region. This is done for each pixel in
  249.      the selected area.
  250. Manual for GSIP V1.0 
  251.  
  252. Edge Enhancement
  253. ----------------
  254.      GRADIENT, GRADIENT+CELL, GRADIENT+BW_THRESHOLD
  255.  
  256.      These functions displays non-homogeneous areas.
  257.      Gradient value = |(center - corner| + |(right - bottom)|    
  258.       _______________
  259.      |center | right | 
  260.      |_______|_______|
  261.      |bottom | corner|
  262.      |_______|_______|
  263.      
  264.      New Center Value =:
  265.  
  266.      GRADIENT:           Gradient
  267.      GRADIENT+CELL:      Current gray value + gradient
  268.      GRADIENT+BW_THR:    If gradient < threshold 
  269.                               = WHITE
  270.                          else
  271.                               = BLACK 
  272. Equalization
  273. ------------
  274.      A equalization curve is generated by the histogram
  275.      equalization method and the selected area is remapped       
  276.      according to the equalization curve. The equalization curve
  277.      can be viewed under ANALYZE,EQUALIZATION.
  278.  
  279. Resize
  280. ------
  281.      Reduces or enlarges a selected area. Mouse is required. 
  282.  
  283. Reduce All
  284. ----------
  285.      Reduces the entire image to:  
  286.  
  287.      {37% of total,50%,56%,62%,68%,75%,81%,87%,93%}
  288.      This function determines new current image width and depth
  289.      when not in preview mode.
  290.  
  291. Rotate
  292. ------
  293.      Rotates the image 180 degrees.
  294.  
  295. Mirror
  296. ------
  297.      Flips the image horizontally.
  298.  
  299. Copy
  300. ----
  301.      COPY, XORCOPY, ANDCOPY, ORCOPY
  302.      
  303.      Copies the selected area to another area. Mouse required.
  304. Manual for GSIP V1.0 
  305.  
  306. Selecting an Area to Edit
  307. =========================
  308.  
  309. ENTIRE IMAGE - This is the rectangular area defined as the
  310.                Current Image Width and Depth under STATUS.
  311.                Image data can be placed out of the region
  312.                but no edit function will effect it by       
  313.                Choosing ENTIRE IMAGE.
  314. SELECT AREA -  This is the rectangular area defined by the
  315.                user with the mouse. To make a box start at
  316.                the upper left area, keeping the LEFT mouse
  317.                button pressed, move the mouse till the
  318.                selected area is enclosed, then release the
  319.                LEFT button. Repeat to choose another area. Press
  320.                the RIGHT button to continue and confirm with
  321.                YES/NO. 
  322.                This is limited to the current viewing area
  323.                and a mouse is required.
  324.  
  325. Selecting a Value
  326. =================
  327.  
  328.      INSERT, BITAND, BITOR, SHARPEN, BLUR, EDGE, REDUCE_ALL
  329.      & PRINT THRESHOLD.
  330.  
  331.                 _____________________________
  332.                |  MIN    |  VALUE  |  MAX    |
  333.                |_________|_________|_________|
  334.                |         SCROLL BAR          |
  335.                |_____________________________|
  336.      
  337.      MOUSE:    Selected with the LEFT button, RIGHT button
  338.                when finished.
  339.      KEYBOARD: Value can be selected with arrow keys. Use the TAB
  340.                key to toggle DECIMAL, HEX, or BINARY value.      
  341.                The ESC key will continue without changing value.
  342.  
  343. Printing an Image
  344. =================
  345.  
  346.      Select the printer type and resolution. Select a print curve
  347.      (DITHER.PRT,HALFTONE.PRT). The curve is a lookup table for
  348.      how the gray values will be printed. 
  349.      The curve effects the distribution of the error in the error
  350.      diffusion process of the Burkes dither and the results are
  351.      unpredictable but areas of an image can be darkened or
  352.      lightened. Prints to LPT1.
  353.      The curve effects the halftone process in a linear fashion.
  354.      A negative image can be made with a negative slope. Printing
  355.      a black/white image can be done with the THRESHOLD option.
  356. Manual for GSIP V1.0 
  357.  
  358. Color
  359. =====
  360.  
  361.      The video display color can be changed to any color or gray
  362.      level. This will have NO effect on the image data or
  363.      palette. It allows one to customize for example the
  364.      background (if too bright) or focus on particular image data
  365.      of interest.
  366.  
  367. Extended Memory
  368. ===============
  369.      Make sure the HIMEM.SYS driver is located in the CONFIG.SYS
  370.      file. Other drivers such as SMARTDRV.SYS will reduce the
  371.      amount of available extended memory. They will have to be
  372.      removed if the extra memory is needed.  The extended memory
  373.      allocated for this program is limited only by how much
  374.      memory is installed.
  375.      If for some reason one does not exit GSIP normally, the
  376.      extended memory will not be deallocated and running the
  377.      program again will result in a message:
  378.      
  379.      ERROR - Insufficient Extended Memory
  380.  
  381.      Roboot (Control/Alt/Del) and run the program again.